home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1788 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: au.wang.com!chianina!usenet
  2. From: Jeremy Lee <jeremy_lee@ccmail.au.wang.com>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Looking for code in all the wrong places...
  5. Date: 16 Jan 1996 21:48:51 GMT
  6. Organization: WANG
  7. Message-ID: <4dh6g3$mbv@chianina.au.wang.com>
  8. References: <4dgkub$1ug@sundog.tiac.net>
  9. NNTP-Posting-Host: hellfire.au.wang.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1B sun4)
  14. X-URL: news:4dgkub$1ug@sundog.tiac.net
  15.  
  16. mramos@gsw.com (Mark Ramos) wrote:
  17. >Greetings everybody,
  18. >
  19. >I'm looking for libraries or code samples 1) showing ways to detect
  20. >file in use or already open by another process, etc. and 2) "wildcard"
  21. >and or "regular" expression comparison (i.e. compare("xyz*", "xyzabc)
  22. >== 0)   Thanks for any help.
  23. [...]
  24. See if there is something equivalent to fuser() in the various free UNIX 
  25. sources. Try archie search on fuser.
  26.  
  27. ditto for wild-cards.... search for regex()  [ regular expression ]
  28.  
  29. fuser will probably be O/S specific - needing to look through the kernel
  30. memory. regex will be portable.
  31. -- 
  32. ----------------------------------------------------------------------
  33. Jeremy Lee
  34. Wang Australia
  35. jeremy_lee@ccmail.au.wang.com
  36.  
  37.